import { defineConfig } from 'umi';
import routes from './routes';

export default defineConfig({
  // title: 'Techub',
  // 开启 MFSU
  mfsu: { production: { output: '.mfsu-production' } },
  nodeModulesTransform: {
    type: 'none',
  },
  fastRefresh: {},
  // base: '/docs/',
  // publicPath: '/static/',
  // hash: true,
  // history: {
  //   type: 'hash',
  // },
  favicon: '/favicon.ico',
  routes: routes,
});
